import request from '@/utils/request'
// 同行评价List
export function teacherPeerListApi(query) {
  return request({
    url: '/jsjx/teacherPeerEvaluation/list',
    method: 'get',
    params: query
  })
};
// 同行评价ById
export function teacherPeerByIdApi(id) {
  return request({
    url: `/jsjx/teacherPeerEvaluation/${id}`,
    method: 'get',
  })
};
// 同行评价Add
export function teacherPeerAddApi(data) {
  return request({
    url: '/jsjx/teacherPeerEvaluation',
    method: 'post',
    data
  })
};
// 同行评价Edit
export function teacherPeerEditApi(data) {
  return request({
    url: '/jsjx/teacherPeerEvaluation',
    method: 'put',
    data
  })
};
// 同行评价Del
export function teacherPeerDelApi(id) {
  return request({
    url: `/jsjx/teacherPeerEvaluation/${id}`,
    method: 'delete',
  })
};